html,
body {
    height: 100%;
}


body {
    font-weight: 300;
    font-size: 16px;
    color: #555;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
    background-color: transparent !important;
}


/* logo 和菜单栏 */
.logo a {
    margin: 0 auto;
    display: inline-block;

    outline: none;
}

.logo a img {
    widows: 100px;
    height: 50px;
    background: transparent;
}

.navbar-main {
    height: 70px;
}

.navbar-inverse {
    background-color: #FFFFFF;
    border-color: rgba(127, 90, 5, 1);
    padding: 10px 0;
}

.navbar-inverse .navbar-nav>li>a {
    color: #1B0B03;
}

.navbar-nav .list-item .icon {
    margin-top: -10px;
    font-size: 25px;
}

.shopping-cart {
    margin-left: 100px;
}

.navbar-inverse .navbar-nav>li>a:hover,
.navbar-inverse .navbar-nav>li>a:focus {
    color: #1B0B03;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>.active>a:focus {
    color: #fff;
    background-color: #080808;
    border-radius: 15px 0px 15px 0px;
}

.navbar-inverse .navbar-toggle {
    border-color: #333;
    background: rgb(31, 14, 7);
}


/* ================首页页面样式================== */


/* 轮播 */
.container-top {
    margin-top: 60px;
}

.swiper-div {
    width: 820px;
    height: 400px;

    background-color: #000;
}

.swiper-container {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}


.gallery-top {
    height: 80%;
    width: 100%;
}

.gallery-thumbs {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

.gallery-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.gallery-thumbs .swiper-slide-active {
    opacity: 1;
}

.col-md-4 {
    padding-bottom: 20px;
}

/* 共享排行 */
.sort-div {
    width: 300px;
}

.share-sort {
    width: 300px;
	height: 680px;
    background-color: rgb(238, 236, 236);
}

.borrow-sort {
    width: 300px;
    height: 680px;
    background-color: rgb(238, 236, 236);
}

.widget .wid-header h5 {
    display: inline-block;
    padding: 10px;
    margin-bottom: -4px;
    font-size: 23px;
}

.widget .wid-content {
    padding: 10px 0;
}

.post {
    height: 120px;
}

.post img {
    margin: 15px 10px;
    padding: 8px;
    width: 100px;
    height: 100px;

    border: 1px solid #555;
    border-radius: 5px;
    margin-bottom: 20px;
}

.wrapper {
    margin-top: -10px;
}

/* 慈善活动 */
.portfolio {
    margin-top: 20px;
    padding: 15px 30px;
    width: 820px;
    height: 380px;

    background: #ccc;
}

.centered {
    font-size: 20px;
}

.activity-list {
    margin-top: 20px;
}

ul.default {
    list-style: none;
    margin: 0;
    padding: 0;

    padding-bottom: 10px;
}

ul.default li {
	display: block;
    padding: 0.80em 0em;
    border-top: 1px solid;
    border-color: rgba(0, 0, 0, .1);
}

ul.default li:first-child {
    padding-top: 0em;
    border-top: none;
}

ul.default a {
    color: #333;
}


/* 书愿展示 */
.wish-div{
	margin-top: 20px;
    padding: 15px 30px;
    width: 820px;

    background: #ccc;
}
.wish-list {
    margin-top: 20px;
}

.wish-list .list-item {
    margin-bottom: 30px;
    /* height: 155px; */
}

.comment span{
    margin-left: 20px;
}

.about-bottom {
    padding-top: 5em;
}

.aboutbottom-left {
    float: left;
    width: 9%;
    margin-right: 2%;
}

.aboutbottom-left .img {
    width: 60px;
    height: 60px;
}

.aboutbottom-left p {
    background: #fff;
    color: #2da9e1;
    width: 60px;
    height: 60px;
    font-size: 1.5em;
    margin: 0;
    text-align: center;
    padding-top: 0.6em;
    box-shadow: 0 0 5px #c3c3c3;
}

.aboutbottom-right {
    float: left;
    width: 89%;
}

.centered {
    text-align: center;
}

/* footer */
.footer {
    margin-top: 20px;
    padding: 2em 0;
    text-align: center;
    background: #000;
}
.footer p {
    color: #fff;
}
.footer p a{
    color: #fff;
}
.footer p a:hover{
    color: #988AEE;
}




/* =====================图书列表页面样式=========================== */

/* 操作样式 */
.opration {
    padding: 0 20px;
}

.opration li {
    margin-left: 10px;
}

.opration li:hover a {
    color: #fdfdfd;
    background-color: #1d1f20;
    border: solid 1px #1d1f20;
}

.opration li.active a {
    color: #fdfdfd;
    background-color: #1d1f20;
    border: solid 1px #1d1f20;
}

.opration li a {
    border: solid 1px #d6d6d6;
    border-radius: 0.2rem;
    color: #7d7d7d;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.9rem;
}

.opration li .icon {
    font-size: 20px;
}

.opration li select {
    border: solid 1px #d6d6d6;
    border-radius: 0.2rem;
    color: #7d7d7d;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.9rem;
}

.opration li input {
    border: solid 1px #d6d6d6;
    border-radius: 0.2rem;
    color: #7d7d7d;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.9rem;
}

.opration li input {
    border: solid 1px #d6d6d6;
    border-radius: 0.2rem;
    color: #7d7d7d;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.9rem;
}

.link-bottom {
    display: none !important;
}

/* 图书列表样式 */
.book-list {
    width: 100%;
}

.book-list .list-item{
    display: block;

    margin: 30px 0 0 30px;
    padding: 20px;
    width: 250px;
	height:373px;
    list-style: none;
    border: 1px solid #c3c3c3;
    
}

.img-div .img{
    width: 210px;
    height: 200px;
}


/* 分页样式 */
.pagination ul,
li {
    list-style: none;
    display: inline;
    padding-left: 0px;
}

.pagination li:hover a {
    color: #fdfdfd;
    background-color: #1d1f20;
    border: solid 1px #1d1f20;
}

.pagination li.active a {
    color: #fdfdfd;
    background-color: #1d1f20;
    border: solid 1px #1d1f20;
}

.pagination li a {
    border: solid 1px #d6d6d6;
    border-radius: 0.2rem;
    color: #7d7d7d;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.9rem;
}

.pagination li input {
    width: 50px;
    border: solid 1px #d6d6d6;
    border-radius: 0.2rem;
    color: #7d7d7d;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.9rem;
}


.page {
    margin-left: 120px;
}





/* ========================图书详情页样式================================== */
.large-image img{
    padding: 10px;
    width: 350px;
    height: 330px;
    border: 1px solid rgb(231, 228, 228);
}

.box-review {
    padding-left: 30px;
}

.box-review p {
    line-height: 35px;

    font-size: 20px;
}

.book-operation {
    margin: 30px 0 0 30px;
}

.book-operation li:hover a {
    color: #fdfdfd;
    background-color: #1d1f20;
    border: solid 1px #1d1f20;
}

.book-operation li.active a {
    color: #fdfdfd;
    background-color: #1d1f20;
    border: solid 1px #1d1f20;
}

.book-operation li a {
    border: solid 1px #d6d6d6;
    border-radius: 0.2rem;
    color: #7d7d7d;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.9rem;
}


/* 选项卡 */
.layui-tab {
    margin: 15px !important;
}

/* 评论 */
.book-comment-div {
    background-color: #fff;
}

.content {
    float: left;
}

.flex-text-wrap,
pre {
    margin: 0 !important;
}

.commentAll {
    padding: 30px 40px;
    margin: 20px auto;
}

.plBtn {
    display: block;
    float: right;
    margin-right: 2px;
    margin-top: 20px;
    width: 75px;
    height: 36px;
    font-size: 12px;
    line-height: 36px;
    text-align: center;
    border-radius: 6px;
    background-color: #222222;
    color: #FFF;
}

.plBtn:hover {
    background-color: #da823a;
    color: #FFF;
    text-decoration: none;
}

/*----------评论区域 begin----------*/

.comment-show {
    margin-top: 20px;
}

.comment-show-con {
    padding: 10px 0;
    width: 100%;
    border-top: 1px solid #EDEDED;
}

.comment-show-con-img {
    margin-top: 5px;
    width: 48px;
    height: 48px;
    overflow: hidden;
    
    background-size: cover;
    background-position: center, center;
}

.comment-show-con-img img {
    width: 100%;
    height: 100%;
}

.comment-show-con-list {
    margin-left: 3%;
    width: 85%;
}

.pl-text {
    margin-top: 7px;
    width: 100%;
    word-wrap: break-word;
    overflow: hidden;
}

.date-dz {
    width: 100%;
    float: left;
}

.hf-list-con {
    float: left;
    margin-top: 7px;
    width: 100%;
    background-color: #eaeaec;
}

.comment-size-name {
    font-size: 12px;
    color: #339b53;
}

.my-pl-con {
    width: 100%;
    font-size: 12px;
    color: #8b8b8b;
}

.date-dz-left {
    display: block;
    padding-top: 18px;
    font-size: 12px;
    color: #8b8b8b;
}

.comment-time,
.comment-pl-block {
    padding-top: 7px;
}

.comment-pl-block {
    margin-top: 0;
}

.date-dz-right {
    position: relative;
    display: block;
    padding-top: 6px;
    padding-right: 18px;
    overflow: hidden;
}

.removeBlock {
    display: block;
    float: left;
    margin-right: 24px;
    font-size: 12px;
    color: #8b8b8b;
    opacity: 0;
}

.hf-con-block {
    display: block;
}

.date-dz-pl,
.date-dz-line,
.date-dz-z {
    font-size: 12px;
    color: #8b8b8b;
}

.date-dz-line {
    display: block;
    padding: 0 20px;
}

.date-dz-z-click-red {
    margin-right: 5px;
    width: 17px;
    height: 17px;
    display: block;
    float: left;
    background-image: url('../img/portfolio/folio02.jpg');
    background-repeat: no-repeat;
    background-position: -6px -198px;
}

.z-num {
    font-style: normal;
}

.date-dz-z-click {
    color: #b83b44;
}

.red {
    background-position: -6px -119px !important;
}

.hf-pl {
    display: block;
    float: right;
    margin-right: 2px;
    margin-top: 20px;
    width: 70px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 12px;
    border-radius: 6px;
    background-color: #e09035;
    color: #FFFFFF;
}

.hf-con {
    margin-top: 24px;
    width: 100%;
}

.hf-input {
    font-size: 12px;
}

.all-pl-con {
    margin: 0 2%;
    padding: 2% 0;
    width: 96%;
    float: left;
}

.atName {
    font-size: 12px;
    color: #339b53;
}

.hfpl-text {
    margin-top: 0;
}

.date-dz:hover .removeBlock {
    opacity: 1;
}

.hf-list-con .all-pl-con {
    border-top: 1px solid #d9d9d9;
    padding-bottom: 12px;
}

.hf-list-con .all-pl-con:first-child {
    border-top: 0;
}

/*----------评论区域 end----------*/

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.flex-text-wrap {
    position: relative;
    width: 100%;
    *zoom: 1;
}

textarea,
.flex-text-wrap {
    margin: 0;
    padding: 0;
    border: none;
    *padding-bottom: 0 !important;
    outline: 0;
}

.flex-text-wrap textarea,
.flex-text-wrap pre {
    width: 100%;
    *white-space: pre;
    *word-wrap: break-word;
    white-space: pre-wrap;
    box-sizing: border-box;
}

.flex-text-wrap textarea {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    resize: none;
    line-height: 35px;
    padding-left: 10px;
}

.flex-text-wrap pre {
    display: block;
    visibility: hidden;
}

.flex-text-wrap,
textarea {
    margin-bottom: 25px
}

textarea,
.flex-text-wrap pre {
    padding: 10px 15px;
    width: 100%;
    line-height: 1;
    font-size: 15px;
    border: 1px solid #beb9b9;
    -webkit-appearance: none;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(182, 195, 214, .6) inset, 0 1px 1px #fff;
    transition-duration: 300ms;
    transition-property: border-color, box-shadow;
    background-clip: padding-box;
    background: rgb(236, 234, 234);
}

.fork-link {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
}




/* ========================活动页面样式================================== */
/* 轮播 */
.new_m .mainPhoto {
    width: 800px;
    height: 400px;
}

.mainPhoto .swiper-container {
    width: 800px;
    height: 400px;
}

.new_m img{
    width: 800px;
    height: 400px;
}

/* 标题 */
.scd {
    width: 800px;
    padding: 10px 0 20px;
}

.scd .scd_top {
    margin-bottom: 20px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #ddd;
    position: relative;
    text-align: left;
}

.scd .scd_top span {
    display: inline-block;
    *display: inline;
    zoom: 1;
    height: 40px;
    line-height: 40px;
    padding-right: 20px;
    font-size: 20px;
    color: #232323;
    font-weight: bold;
    border-bottom: 3px solid #232323;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;
}

.scd .scd_top .pst {
    width: 50%;
    height: 40px;
    line-height: 40px;
    text-align: right;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 14px;
}

/* 活动列表 */
.news {
    width: 800px;
}

.news_r {
    margin-top: 30px;
}

.news .n_m {
    width: 100%;
    padding-bottom: 23px;
    margin-bottom: 23px;
    border-bottom: 1px dashed #ddd;
}

.news .n_m .title {
    width: 100%;
    height: 25px;
    line-height: 25px;
    text-align: left;
    margin-bottom: 8px;
}

.news .n_m .title span,
.news .n_m .title p {
    display: inline-block;
    *display: inline;
    zoom: 1;
    height: 25px;
    line-height: 25px;
    vertical-align: top;
}

.news .n_m .title span {
    width: 85px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    background: #222222;
}

.news .n_m .title p {
    width: 445px;
    margin-left: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news .n_m .title p a {
    font-size: 16px;
    text-decoration: none;
}

.news .n_m .des {
    width: 100%;
    font-size: 14px;
    line-height: 170%;
    color: #888;
    overflow: hidden;
}

/* 分页 */
.pages a {
    margin-left: 5px;
}

.pages a:hover {
    color: #fdfdfd;
    background-color: #1d1f20;
    border: solid 1px #1d1f20;
}

.pages a.active {
    color: #fdfdfd;
    background-color: #1d1f20;
    border: solid 1px #1d1f20;
}

.pages a {
    border: solid 1px #d6d6d6;
    border-radius: 0.2rem;
    color: #7d7d7d;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.9rem;
}



/* ============================活动详情页面=================== */
.scd .scd_m {
    width: 100%;
    padding-top: 10px;
}

.scd_m .scd_ml {
    float: left;
    text-align: left;
    font-size: 14px;
    line-height: 175%;
    border-right: 1px solid #ddd;
    padding: 10px;
}

.scd_m .scd_ml h1 {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 20px;
    color: #EC9D19;
    font-weight: normal;
    margin-bottom: 15px;
}

.scd_m .scd_ml .time {
    width: 100%;
    height: 30px;
    line-height: 30px;
    position: relative;
}

.scd_m .scd_ml .time span {
    display: inline-block;
    *display: inline;
    zoom: 1;
    height: 30px;
    line-height: 30px;
    margin-right: 10px;
    color: #858585;
}

.scd_m .scd_ml .time .font {
    width: 40%;
    position: absolute;
    right: 0;
    top: 0;
    text-align: right;
}

.scd_m .scd_ml .time .font span,
.scd_m .scd_ml .time .font em {
    display: inline-block;
    *display: inline;
    zoom: 1;
    height: 20px;
    line-height: 20px;
    vertical-align: top;
    margin-top: 5px;
    margin: 0 2px;
}

.scd_m .scd_ml .time .font em {
    width: 40px;
    text-align: center;
    font-size: 14px;
    color: #858585;
    cursor: pointer;
    font-size: 12px;
}

.scd_m .scd_ml .time .font em.on {
    border: 1px solid #333;
    color: #333;
}

.scd_m .scd_ml .ctn {
    width: 100%;
    -webkit-transition: all .3s ease-in-out 0s;
    -moz-transition: all .3s ease-in-out 0s;
    -ms-transition: all .3s ease-in-out 0s;
    -o-transition: all .3s ease-in-out 0s;
    transition: all .3s ease-in-out 0s;
}

.scd_m .scd_ml .ctn .des {
    width: 100%;
    padding: 15px 0;
    background: #ECECEC;
    border: 1px solid #ddd;
    margin: 10px 0;
}

.scd_m .scd_ml .ctn .des p {
    margin: 10px;
    line-height: 175%;
}

.scd_m .scd_ml .ctn_m {
    width: 100%;
    margin-top: 20px;
    text-align: left;
}

.scd_m .scd_ml .ctn_m img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.scd_m .scd_mr {
    width: 245px;
    float: right;
}

.scd_mr .box_h {
    width: 100%;
    height: 45px;
    line-height: 45px;
    position: relative;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.scd_mr .box_h span {
    display: inline-block;
    *display: inline;
    zoom: 1;
    height: 45px;
    line-height: 45px;
    padding-right: 20px;
    border-bottom: 3px solid #EC9D19;
    font-size: 20px;
    color: #232323;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.scd_mr .box_h a {
    display: inline-block;
    *display: inline;
    zoom: 1;
    width: 46px;
    height: 18px;
    background: #C4C4C4;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    color: #FFF;
    position: absolute;
    right: 0;
    bottom: 8px;
}

.scd_mr .box_m {
    width: 100%;
    margin-bottom: 5px;
}

.scd_mr .box_m img {
    width: 100%;
    height: auto;
    vertical-align: top;
}

.scd_mr .box_m ul {
    width: 100%;
}

.scd_mr .box_m ul li {
    width: 100%;
    height: 30px;
    line-height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: url('../img/icon8.png') no-repeat left center;
}

.scd_mr .box_m ul li a {
    font-size: 14px;
}


/* ============================收藏夹页面======================== */
.collection-div{
    border: 1px solid #ccc;
    min-height: 160px;
}
.collection-div a{
    display: block;
}

.order_lists{
    padding-bottom: 20px;
    width: 100%;
    border-bottom: 1px solid #e7e7e7;
}
.order_lists:last-child{
    border-bottom: none;
}
.order_lists li{
    float: left;
    height: 100%;
}

.order_lists .list_chk input[type="checkbox"] {
    margin-top: 20px;
    width: 20px;
    height: 20px;
}
.order_lists .list_chk label{
    margin: 20px 0 0 24px;
}

.order_lists .list_con{
    width: 342px;
}
.order_lists .list_con .list_img{
    width: 105px;
    height: 120px;
    margin-top: 20px;
    float: left;
}
.order_lists .list_con .list_img img{
    width: 105px;
    height: 120px;
    vertical-align: top;
}
.order_lists .list_con .list_text{
    margin: 20px 0 0 10px;
    line-height: 18px;
    width: 200px;
    float: left;
}
.order_lists .list_con .list_text a{
    color: #3c3c3c;
}
.order_lists .list_con .list_text a:hover{
    color: #ff873e;
    text-decoration: underline;
}

.order_lists .list_info{
    width: 350px;
    box-sizing: border-box;
    padding: 20px 0;
}
.order_lists .list_info p{
    color: #9c9c9c;
    line-height: 18px;
    margin-left: 15px;
}
.order_lists .list_price{
    width: 130px;
}
.order_lists .list_price .price{
    margin-top: 20px;
    line-height: 18px;
    font-family: Verdana,Tahoma,arial;
    color: #3c3c3c;
    font-weight: bold;
}
.order_lists .list_amount{
    width: 120px;
}
.order_lists .list_amount .amount_box{
    margin-top: 20px;
    width: 77px;
    height: 25px;
    position: relative;
}
.order_lists .list_amount .amount_box input{
    width: 39px;
    height: 15px;
    line-height: 15px;
    border: 1px solid #aaa;
    color: #343434;
    text-align: center;
    padding: 4px 0;
    background-color: #fff;
    z-index: 2;
    position: absolute;
    left: 18px;
    float: left;
}
.order_lists .list_amount .amount_box a{
    float: left;
    height: 23px;
    width: 17px;
    border: 1px solid #e5e5e5;
    background: #f0f0f0;
    text-align: center;
    line-height: 23px;
    color: #444;
    position: absolute;
    top:0;
}
.order_lists .list_amount .amount_box a:hover{
    border-color: #ff873e;
    text-decoration: none;
    color: #ff873e;
    z-index: 3;
}

.order_lists .list_amount .amount_box .reduce{
    left: 0;
}

.order_lists .list_amount .amount_box .reSty{
    color: #cbcbcb;
}
.order_lists .list_amount .amount_box .reSty:hover{
    border-right: none;
    border-color: #e5e5e5;
    text-decoration: none;
    color: #cbcbcb;
}

.order_lists .list_amount .amount_box .plus{
    border-left-color: transparent;
    right: 0;
}


.order_lists .list_sum{
    width: 140px;
}
.order_lists .list_sum .sum_price{
    line-height: 18px;
    margin-top: 20px;
    font-family: Verdana,Tahoma,arial;
    color: #ff0000;
    font-weight: bold;
}
.order_lists .list_op{
    padding: 20px 0;
    width: 164px;
}
.order_lists .list_op .del{
    margin-top: 20px;
    line-height: 18px;
}





